package com.wsb.boot.receiver;

import lombok.SneakyThrows;

/**
 * @author wang shaobo
 * @date 2020/7/17  21:09
 */
public class StartRec {

    public static void main(String[] args) throws Exception {

//        Recv.main(null);

        new Thread(new Runnable(){
            @SneakyThrows
            @Override
            public void run(){
                Recv2.main(null);
            }
        }).start();

        System.out.println("启动线程2");
        new Thread(new Runnable(){
            @SneakyThrows
            @Override
            public void run(){
                Recv.main(null);
            }
        }).start();

    }
}
